package com.zbf.web;

import com.zbf.api.TestServerApi;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Map;

/**
 * 作者: LCG
 * 日期: 2021/6/25  15:28
 * 描述: 
 * @Param 
 * @Return 
 */
@RestController
public class TestServerBController {

    @Autowired
    private TestServerApi testServerApi;

    @RequestMapping("serverb")
    public Object getObject(@RequestBody Map<String,Object> mm){
        Map<String, String> object = testServerApi.getObject(mm);
        return object;
    }



}
